<!DOCTYPE html>
<html>

<head>
    {% block head %}
    <meta charset="utf-8">
    <title>{% block title %}在线支票识别{% endblock %}</title>
    <link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}">
    {% block styles %}
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css' ) }}">
    {% endblock %}
    {% block script %}{% endblock %}
    {% endblock %}
</head>


<body>
    {% block nav %}
    <nav>
        <ul>
            <li><a href="{{ url_for('index') }}">Home</a></li>
            <li><a href="{{ url_for('signin') }}">Sign In</a></li>
        </ul>
    </nav>
    {% endblock %}

    <main>
        {% for message in get_flashed_messages() %}
        <div class="alert">
            {{ message }}
        </div>
        {% endfor %}
        {% block content %}{% endblock %}
    </main>

    <footer>
        {% block footer %}
        <small> &copy; 2020 <a href="http://greyli.com" title="Written by ZhuZhenYang">ZhuZhenYang</a> /
                    <a href="https://github.com/greyli/helloflask" title="Fork me on GitHub">GitHub</a> /
                    <a href="http://helloflask.com" title="A HelloFlask project">HelloFlask</a>
                </small>
        {% endblock %}
    </footer>
</body>
</html>
